<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2023-01-11 20:06:10
 * @Last Modified time: 2023-01-12 14:03:56
 */
namespace addon\wechat\event;
use addon\wechat\services\LoginAuthService;
/**
 * 微信小程序授权事件
 */
class LoginAuth 
{
    public function handle($param = []){
        return LoginAuthService::instance($param['data']??[])->login();
    }
}